const key = 'Mytoken'

//获取token

export const gettoken = () => {
  return localStorage.getItem(key)
}

//token本地存储
export const settoken = (token) => {
  localStorage.setItem(key, token)
}
//清空token
export const removetoken = () => {
  localStorage.removeItem(key)
}
